From: Jan Djärv Date: Wed, 14 Feb 2007 07:28:36 +0000 (+0000) Subject: (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~2209 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=96e6aa9c3abf2524e55958c4e4f9de52a6747196;p=emacs.git (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. --- diff --git a/src/xterm.c b/src/xterm.c index cf319b374d9..c4763dfb3ec 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8426,6 +8426,11 @@ do_ewmh_fullscreen (f) { int have_net_atom = wm_supports (f, "_NET_WM_STATE"); + /* Some window managers don't say they support _NET_WM_STATE, but they do say + they support _NET_WM_STATE_FULLSCREEN. Try that also. */ + if (!have_net_atom) + have_net_atom = wm_supports (f, "_NET_WM_STATE_FULLSCREEN"); + if (have_net_atom) { Lisp_Object frame;